<div class="row ">
    <div class="col-md-12">
        <div class="infoentry_info panel-body panel">
            <ul class="ymd" id="ymd">
                <li ng-class="{'active':nowPage==$index}" ng-repeat="time in times" ng-click="tabTime($index)">{{time.name}}</li>
            </ul>
        </div>
    </div>
</div>
<div class="row ">
    <div class="col-md-12">
        <div class="infoentry_info panel-body panel">
            <ul>
                <li class="col-md-3">
                    <label>设备名称：</label>
                    <select class="entry_input wedet_w" ng-model="DEVICEID" id="DEVICENAME">
                        <option value="">---<全部>---</option>
                        <option ng-repeat="d in DeviceList" value="{{d.DEVICE_ID}}">{{d.DEVICE_NAME}}</option>
                    </select>
                </li>
                <li class="col-md-3">
                    <label class="col-md-4 mar_pad">统计时间：</label>
                    <input size="16" type="text" value="" readonly id="datetimepicker" 
                    	class="form_datetime entry_input input_padding col-md-8" style="cursor: no-drop" ng-model="StartTime">
                </li>
                <li class="col-md-3">
                    <label class="col-md-2 text-center" style="padding: 0!important;">至</label>
                    <input size="16" type="text" value="" readonly id="datetimepicker2" 
                    	 class="form_datetime entry_input input_padding col-md-8" style="cursor: no-drop" ng-model="EndTime">
                </li>
                <li class="col-md-2 f_r">
                    <span class="excep_query f_r" style="cursor: pointer;" ng-click="GetList(DEVICEID,StartTime,EndTime)">查询</span>
                </li>
            </ul>
        </div>
    </div>
</div>
<div ng-if="nowPage==0" class="t_system wrapper_main">
    <div class="row ">
        <div class="col-md-12">
            <div class="infoentry_info panel-body panel">
                <h1 class="statement_tit">气象检测器日报表</h1>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-12">
            <section class="panel">

                <div class="panel-body padding_top">
                    <div class="adv-table">

                        <div class="row padding_rl">
                            <div class="col-md-3 mar_pad">
                                <p class="statment_row">
                                    <label>设备名称：</label>
                                    <input size="16" type="text" disabled="disabled" value="{{DEVICENAME}} ">
                                </p>

                            </div>
                            <div class="col-md-4 mar_pad">
                                <p class="statment_row">
                                    <label>统计时间：</label>
                                    <input size="16" type="text" disabled="disabled" value="{{Times}}">
                                </p>
                            </div>
                            <div class="col-md-2 mar_pad">
                                <p class="statment_row">
                                    <label>统计人员：</label>
                                    <input size="16" type="text" disabled="disabled" value="{{ReportList.UserName}}">
                                </p>
                            </div>
                            <div class="col-md-3 mar_pad">
                                <p class="statment_row">
                                    <label>打印时间：</label>
                                    <input size="16" type="text" disabled="disabled" value="{{NowTime}}">
                                </p>
                            </div>
                        </div>
                        <table class="display table table-bordered table-striped" id="Table1">
                            <thead>
                                <tr>
                                    <th>序号</th>
                                    <th>统计时间</th>
                                    <th class="hidden-phone">大气温度</th>
                                    <th class="hidden-phone">雨量</th>
                                    <th class="hidden-phone">能见度</th>
                                    <th class="hidden-phone">风速</th>
                                    <th class="hidden-phone">湿度</th>
                                    <th class="hidden-phone">地表温度</th>
                                </tr>
                            </thead>
                            <tbody id="Tbody1">
                                <tr class="gradeX" ng-repeat="d in ReportList.ListinfoDay">
                                    <td>{{$index+1}}</td>
                                    <td>{{d.Report_Time}}</td>
                                    <td class="center hidden-phone">{{d.TEMP_AIR}}</td>
                                    <td class="center hidden-phone">{{d.PRECIPITATION}}</td>
                                    <td class="center hidden-phone">{{d.VISIBILITY}}</td>
                                    <td class="center hidden-phone">{{d.WIND_SPEED}}</td>
                                    <td class="center hidden-phone">{{d.RELATIVE_HUMIDITY}}</td>
                                    <td class="center hidden-phone">{{d.ROAD_TEMP}}</td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="col-lg-12">
                        <tm-pagination conf="paginationConfDay"></tm-pagination>
                        <div class="col-md-3 f_r mar_pad">
                            <span class="col-md-8"><em class="excel" ng-click="OpenPrintPage('气象检测器日报表','Day',DEVICEID,StartTime,EndTime,'GetWSDReport')">打印报表</em></span>
                            <span class="col-md-4 mar_pad"><em class="excel" ng-click="ExcelOut(ReportList.ListinfoDay,StartTime,EndTime,'气象检测器日报表')">导出Excel</em></span>
                        </div>
                    </div>
                </div>
            </section>
        </div>

    </div>
</div>
<!-- body t_system end-->
<!-- body t_system start-->
<div ng-if="nowPage==1" class="t_system wrapper_main">
    <div class="row ">
        <div class="col-md-12">
            <div class="infoentry_info panel-body panel">
                <h1 class="statement_tit">气象检测器月报表</h1>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-12">
            <section class="panel">

                <div class="panel-body padding_top">
                    <div class="adv-table">

                        <div class="row padding_rl">
                            <div class="col-md-3 mar_pad">
                                <p class="statment_row">
                                    <label>设备名称：</label>
                                    <input size="16" type="text" disabled="disabled" value="{{DEVICENAME}} ">
                                </p>

                            </div>
                            <div class="col-md-4 mar_pad">
                                <p class="statment_row">
                                    <label>统计时间：</label>
                                    <input size="16" type="text" disabled="disabled" value="{{Times}}">
                                </p>
                            </div>
                            <div class="col-md-2 mar_pad">
                                <p class="statment_row">
                                    <label>统计人员：</label>
                                    <input size="16" type="text" disabled="disabled" value="{{ReportList.UserName}}">
                                </p>
                            </div>
                            <div class="col-md-3 mar_pad">
                                <p class="statment_row">
                                    <label>打印时间：</label>
                                    <input size="16" type="text" disabled="disabled" value="{{NowTime}}">
                                </p>
                            </div>
                        </div>
                        <table class="display table table-bordered table-striped" id="dynamic-table">
                            <thead>
                                <tr>
                                    <th>序号</th>
                                    <th>统计时间</th>
                                    <th class="hidden-phone">大气温度</th>
                                    <th class="hidden-phone">雨量</th>
                                    <th class="hidden-phone">能见度</th>
                                    <th class="hidden-phone">风速</th>
                                    <th class="hidden-phone">湿度</th>
                                    <th class="hidden-phone">地表温度</th>
                                </tr>
                            </thead>
                            <tbody id="group_one">
                                <tr class="gradeX" ng-repeat="d in ReportList.ListinfoMonth">
                                    <td>{{$index+1}}</td>
                                    <td>{{d.Report_Time}}</td>
                                    <td class="center hidden-phone">{{d.TEMP_AIR}}</td>
                                    <td class="center hidden-phone">{{d.PRECIPITATION}}</td>
                                    <td class="center hidden-phone">{{d.VISIBILITY}}</td>
                                    <td class="center hidden-phone">{{d.WIND_SPEED}}</td>
                                    <td class="center hidden-phone">{{d.RELATIVE_HUMIDITY}}</td>
                                    <td class="center hidden-phone">{{d.ROAD_TEMP}}</td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="col-lg-12">
                       <tm-pagination conf="paginationConfMonth"></tm-pagination>
                        <div class="col-md-3 f_r mar_pad">
                            <span class="col-md-8"><em class="excel"  ng-click="OpenPrintPage('气象检测器月报表','Month',DEVICEID,StartTime,EndTime,'GetWSDReport')">打印报表</em></span>
                            <span class="col-md-4 mar_pad"><em class="excel" ng-click="ExcelOut(ReportList.ListinfoMonth,StartTime,EndTime,'气象检测器月报表')">导出Excel</em></span>
                        </div>
                    </div>
                </div>
            </section>
        </div>

    </div>

</div>
<!-- body t_system end-->
<!-- body t_system start-->
<div ng-if="nowPage==2" class="t_system wrapper_main">
    <div class="row ">
        <div class="col-md-12">
            <div class="infoentry_info panel-body panel">
                <h1 class="statement_tit">气象检测器年报表</h1>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-12">
            <section class="panel">

                <div class="panel-body padding_top">
                    <div class="adv-table">

                        <div class="row padding_rl">
                            <div class="col-md-3 mar_pad">
                                <p class="statment_row">
                                    <label>设备名称：</label>
                                    <input size="16" type="text" disabled="disabled" value="{{DEVICENAME}} ">
                                </p>

                            </div>
                            <div class="col-md-4 mar_pad">
                                <p class="statment_row">
                                    <label>统计时间：</label>
                                    <input size="16" type="text" disabled="disabled" value="{{Times}}">
                                </p>
                            </div>
                            <div class="col-md-2 mar_pad">
                                <p class="statment_row">
                                    <label>统计人员：</label>
                                    <input size="16" type="text" disabled="disabled" value="{{ReportList.UserName}}">
                                </p>
                            </div>
                            <div class="col-md-3 mar_pad">
                                <p class="statment_row">
                                    <label>打印时间：</label>
                                    <input size="16" type="text" disabled="disabled" value="{{NowTime}}">
                                </p>
                            </div>
                        </div>
                        <table class="display table table-bordered table-striped" id="dynamic-table">
                            <thead>
                                <tr>
                                    <th>序号</th>
                                    <th>统计时间</th>
                                    <th class="hidden-phone">大气温度</th>
                                    <th class="hidden-phone">雨量</th>
                                    <th class="hidden-phone">能见度</th>
                                    <th class="hidden-phone">风速</th>
                                    <th class="hidden-phone">湿度</th>
                                    <th class="hidden-phone">地表温度</th>
                                </tr>
                            </thead>
                            <tbody id="group_one">
                                <tr class="gradeX" ng-repeat="d in ReportList.ListinfoYear">
                                    <td>{{$index+1}}</td>
                                    <td>{{d.Report_Time}}</td>
                                    <td class="center hidden-phone">{{d.TEMP_AIR}}</td>
                                    <td class="center hidden-phone">{{d.PRECIPITATION}}</td>
                                    <td class="center hidden-phone">{{d.VISIBILITY}}</td>
                                    <td class="center hidden-phone">{{d.WIND_SPEED}}</td>
                                    <td class="center hidden-phone">{{d.RELATIVE_HUMIDITY}}</td>
                                    <td class="center hidden-phone">{{d.ROAD_TEMP}}</td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="col-lg-12">
                        <tm-pagination conf="paginationConfYear"></tm-pagination>
                        <div class="col-md-3 f_r mar_pad">
                            <span class="col-md-8"><em class="excel" ng-click="OpenPrintPage('气象检测器年报表','Year',DEVICEID,StartTime,EndTime,'GetWSDReport')">打印报表</em></span>
                            <span class="col-md-4 mar_pad"><em class="excel" ng-click="ExcelOut(ReportList.ListinfoYear,StartTime,EndTime,'气象检测器年报表')">导出Excel</em></span>
                        </div>
                    </div>
                </div>
            </section>
        </div>

    </div>

</div>
<!-- body t_system end-->
</div>
